package sys.mapper;


import sys.model.Question;

import java.util.List;

public interface QuestionMapper {
    int deleteByPrimaryKey(Integer id);
    int deleteByQid(Integer qid);

    int insert(Question record);
    boolean inserts(List<Question> list);

    int insertSelective(Question record);

    Question selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Question record);

    int updateByPrimaryKey(Question record);
}